﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 企业人事管理系统
{
    public class DataName
    {/*记录会用到的数据库表中的字段名称,便于更改*/
        private DataName()
        { }

        public static string testConStr = System.Configuration.ConfigurationManager.ConnectionStrings["企业人事管理系统.Properties.Settings.systemDataConnectionString"].ToString();
        public static string testTable = "员工";

        //员工
        public static string peopleTable = "员工";
        public static string Name = "姓名";
        public static string job = "职位编码";
        public static string salary = "基本工资";
        public static string contact = "联系方式";
        public static string workAge = "工龄";
        public static string peoDepartNumber = "部门编号";

        //职位
        public static string positionTable = "职位";
        public static string positionNumber = "职位编码";
        public static string positionName = "职位名称";


        //部门关系
        public static string departRelateTable = "部门关系";
        public static string departUP = "上一级部门";
        public static string departDown = "下一级部门";

        //部门信息
        public static string departTable = "部门";
        public static string departName = "部门名称";
        public static string departNumber = "部门编码";

        //任务
        public static string taskTable = "任务";

        //合同
        public static string contractTable = "合同";
        public static string contractPath = "合同路径";

        //用户
        public static string userTable = "用户";
        public static string userID = "员工编码";
        public static string userName = "用户名";
        public static string userPassword = "密码";
        public static string userLevel = "权限等级";
        public static string userDate = "日期";
    }
}
